package cosplay.DAO;

import java.util.List;

import cosplay.beans.Tags;

public interface TagDAO {
	public int addSys(Tags tag);
	public boolean delSys(int id);
	public boolean edit(Tags tag, int id);
	public boolean editSys(Tags tag, int id);
	public List<Tags> getAll();
	public List<Tags> getAllSys();
	public List<Tags> getByPhoto(int photoid);
	public List<Tags> getAllForAdmin();
	public boolean appendById(int tagid, int photoid);
	public boolean appendByName(String tagword, int photoid);
	public boolean removeById(int tagid, int photoid);
	public boolean removeByName(String tagword, int photoid);
	public Tags get(int tid);
}
